<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/>
    <meta http-equiv="X-UA-Compatible" content="IE=9"/>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>{$title}</title>
</head>
<style>
    * {
        padding: 0;
        margin: 0;
        border: none;
    }

    .image-container {
        height: 100%;
        width: 100%;
        overflow-y: hidden;
    }

    .responsive-image {
        height: auto;
        max-width: 100%;
        margin: 0 auto;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    @media (max-width: 600px) {
        .responsive-image {
            width: 100%;
            overflow-x: hidden;
            overflow-y: auto;
        }
    }
</style>
<body>

<div class="image-container">
    <img src="{$img}" class="responsive-image" alt="Responsive image">
</div>
</body>
</html>
